/**
* MapsCast
* Applicast(tm) Widget
*
* (c) 2009 Estanislau Trepat / ILERRED, S.L. / INSON, S.A.
*/

var MapsCastGeocoder = new AppliMaps_Geocoder({useCache: true});

var MapsCastViewOperationMode = {
  IDLE: 0,
  SEARCH: 1,
  MAP: 2
};

var MapsCastViewOperationModes = ['idle', 'search', 'map'];

var MapsCastView = Class.create({
  initialize: function(options) {
    this.options = {
      assetsPath: './assets/',
      address: ''
    };
    Object.extend(this.options, options || { });
    
    if ( typeof this.setup !== 'undefined' )
      this.setup();
  }
});